package org.aplombh.java.interview.test._231029;

import java.util.Scanner;

public class _2_明明的随机数 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        int[] all = new int[501];
        for (int i = 0; i < n; i++) {
            int t = in.nextInt();
            all[t]++;
        }
        for (int i = 1; i < all.length; i++) {
            if (all[i] >0) System.out.println(i);
        }
    }
}
